﻿using System;
namespace ElingOA6_Admin_DSJCJ.Model
{
    /// <summary>
    /// ItemCount:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class ItemOfficeCount
    {
        public ItemOfficeCount()
        {
        }
        #region Model
        /// <summary>
        /// 
        /// </summary>
        public string FItemClsNo
        {
            set;
            get;
        }
       
        /// <summary>
        /// 
        /// </summary>
        public string FItemNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public int Feq
        {
            set;
            get;
        }

        /// <summary>
        /// 
        /// </summary>
        public string FItemName
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal amount1
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal qty1
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal amount2
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal qty2
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FApplyQty
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public int FApplyQtyDec
        {
            get
            {
                if (FApplyQty == "")
                {
                    return 0;
                }
                else
                {
                    try
                    {
                        return int.Parse(FApplyQty);
                    }
                    catch
                    {
                        return 0;
                    }
                }
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FItemSpec
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FItemClsName
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public string FEntityNo
        {
            set;
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal FQty
        {
            set;
            get;
        }

        #endregion Model

    }
}

